package pony.wrappers;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;

public class Utf8HttpServletRequestWrapper extends HttpServletRequestWrapper {
	private Map<String, String> params;
	
	public Utf8HttpServletRequestWrapper(HttpServletRequest request, Map<String, String>params) {
		super(request);
		this.params = params;
	}
	
	@Override
	public String getParameter(String name) {
		return params.get(name);
	}

}
